package com.ynunicom.midplatform.sys.role;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * SysRoleService
 *
 * @author zf
 * @version 2018/5/7 14:22
 */
@Service
public class SysRoleService {

    private final SysRoleDao sysRoleDao;

    public SysRoleService(SysRoleDao sysRoleDao) {
        this.sysRoleDao = sysRoleDao;
    }

    public List<SysRole> findAll() {
        return sysRoleDao.findAll();
    }
}
